/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Main;

import Controller.ButtonController;
import Controller.KeyController;
import Controller.MouseController;
import Model.Grid;
import Views.CircleView;
import Views.RectangleView;
import Views.MainWindow;


/**
 *
 * @author KOK Leng-Steven & RIEU Simon
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        Grid model = new Grid();
        
        CircleView cv = new CircleView(model);
        RectangleView rv = new RectangleView(model);
        
        KeyController kc = new KeyController(model, cv,rv);
        MouseController mc = new MouseController(model, cv,rv);
        ButtonController ac = new ButtonController(model, cv,rv);
        
       // MainWindow m = new MainWindow(model,cv,rv,mc,kc,ac);
       MainWindow m = new MainWindow(model,cv,rv,mc,kc,ac);
                m.setVisible(true);
       
    }
}
